import Layout from '@/layout'
export default {
  // 员工管理
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '',
      name: 'employees',
      component: () => import('@/views/employees/employees.vue'),
      meta: { title: '员工管理', icon: 'people' }
    },
    {
      // 员工的详情
      // path: 'detail', // 如果是查询参数,那么路径不变
      path: 'detail/:id', // 路径参数需要路由接收配置
      name: 'detail',
      component: () => import('@/views/employees/detail.vue'),
      hidden: true // 不在左侧菜单显示
    }
  ]
}
